package com.wwf.io;

import java.io.InputStream;

/**
 * 获取配置文件为字节流
 */
public class Resource {
    public static InputStream  getResourceAsStream(String path){
        InputStream resourceAsStream = Resource.class.getClassLoader().getResourceAsStream(path);
        return resourceAsStream;
    }
}
